<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
<title>警告对话框的应用</title>
</head>
<body onLoad="al()">
<script type="text/javascript">
function al(){
	window.alert("弹出警告对话框!");
}
</script>
</body>
</html>
